-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add GeoJSONOverlay #1082
add GeoJSONOverlay #1082
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work well! I'm wondering though, aren't all these map layers geoJSON? Would it make sense to call this like "custom map layer"? Your call!
<img | ||
alt={properties.Name} | ||
src={properties.icon} | ||
style={{ height: 40 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is coming across as very tall!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree let's remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a className
should still be set on the <img>
tag so that the configs can style the images if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you clean up the effect, the reference to map actions, and the types?
<img | ||
alt={properties.Name} | ||
src={properties.icon} | ||
style={{ height: 40 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a className
should still be set on the <img>
tag so that the configs can style the images if needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my comments. Let's give it a go!
Description:
Adds a new overlay that renders any geojson on the map!
to configure:
PR Checklist: